tar xf ${DOWNLOADDIR}/pkg-config-0.29.2.tar.gz -C ${BUILDDIR}/
pushd ${BUILDDIR}/pkg-config-0.29.2
	./configure --prefix=/usr --libdir=/usr/lib64 --build=${CROSS_HOST} \
	            --host=${CROSS_TARGET} --with-internal-glib --disable-host-tool \
	            glib_cv_stack_grows=yes glib_cv_uscore=no \
	            ac_cv_func_posix_getpwuid_r=yes ac_cv_func_posix_getgrgid_r=yes
	make ${JOBS}
	make DESTDIR=${SYSDIR}/sysroot install
	mkdir -p ${SYSDIR}/cross-tools/tmp/bin
	ln -sf /bin/pkg-config ${SYSDIR}/cross-tools/tmp/bin/${CROSS_TARGET}-pkg-config
popd
